<?php
/* @var $this ActivitiesController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Activities',
);

?>

<aside class="right-side">
       <!-- Content Header (Page header) -->
       <section class="content-header">

<div class="box box-primary">
                                




<?php
$dataActivities = new CActiveDataProvider('Activities', array(
    'pagination' => array(
        'pageSize' => 20,
    )
        ));
//$dataProvider->criteria->addCondition("name like '%th%'");

//$dataProvider->criteria->addCondition("name like '%th%'"); 

?> 

 <?php 
$this->widget('bootstrap.widgets.TbGridView', array(
'type' => 'striped bordered',
'template'=>"{items}\n{pager}",    
'dataProvider' => $dataActivities,
 'columns' => array(
		'No',
		'Question',
		'Note',
		'Name',
		'IP',
		'Email',
		'pageview',
		
		
	),
)); ?>

           </div>       
</section>
</aside>